import 'package:json_annotation/json_annotation.dart';

part 'GetContactsUserInfoResultData.g.dart';

@JsonSerializable()
class GetContactsUserInfoResultData {
  int? id;

  String? code;

  /// 昵称
  String? nickname;

  /// 头像URL
  String? headPortrait;

  String? headPortraitStoreType;

  GetContactsUserInfoResultData();

  GetContactsUserInfoResultData.create(this.id, this.code, this.nickname,
      this.headPortrait, this.headPortraitStoreType);

  static GetContactsUserInfoResultData fromJson(Map<String, dynamic> json) {
    return _$GetContactsUserInfoResultDataFromJson(json);
  }

  @override
  String toString() {
    return 'GetContactsInfoResultData{id: $id, code: $code, nickname: $nickname, headPortrait: $headPortrait, headPortraitStoreType: $headPortraitStoreType}';
  }
}
